{extend name="public/base"/}
{block name="style"}

{/block}
{block name="body"}
<style>
    .menuBox li {
        float: left;
        width: 55px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        font-size: 16px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
</style>
{include file="public/header" /}

<div class="pageBox userBox" >
    <div class="userLeft">
        <div class="headPic">
            {if $avatar ==""}
            <img id="userPicShow" src="__PUBLIC__/novel/images/ser.png"/>
            {else}
            <img id="userPicShow" src="{$avatar}"/>
            {/if}
            <span>{$nickname}</span>
        </div>
        <ul>
            <li ><a href="/personal/info">我的主页</a></li>
            <li ><a href="/personal/bookcase">我的书架</a></li>
            <li ><a href="/personal/review">我的书评</a></li>
            <li ><a href="/personal/paylog/">充值记录</a></li>
			<li ><a href="/personal/history/">阅读历史</a></li>
            <li class="liHove"><a href="/personal/moneylog/">订阅记录</a></li>
            <li ><a href="/personal/bonuslog/">打赏记录</a></li>
			<li ><a href="{:config('writer_url')}">作家中心</a></li>
        </ul>    
    </div>
    <div class="userRight">
        <div class="Tit conIco">我的订阅<span>全部订阅</span></div>
        <div class="userConBox">
            <ul class="conTit clearfix">
                <li class="conCoin">订阅币</li>
                <li class="bookName">书名</li>
                <li class="conChapter">章节</li>
                <li class="conTime">时间</li>
            </ul>
            {volist name="list" id="vo"}
            <ul>
                <li class="conCoin">{$vo.price}</li>
                <li class="bookName">{$vo.articlename}</li>
                <li class="conChapter">{$vo.chaptername}</li>
                <li class="conTime">{$vo.create_time|date="Y-m-d H:i:s", ###}</li>
            </ul>
            {/volist}
            <div style="text-align:center;margin:0 auto">{$page}</div>
        </div>        
    </div>
</div>
{block name="include"}{include file="public:footer" /}{/block}
{/block}
{block name="script"}
	
{/block}